<?php
$lang->instance = new stdclass;
$lang->instance->common           = '應用';
$lang->instance->manage           = '管理應用';
$lang->instance->view             = '應用詳情';
$lang->instance->ajaxStatus       = '獲取應用狀態';
$lang->instance->ajaxStart        = '啟動應用';
$lang->instance->ajaxStop         = '關閉應用';
$lang->instance->ajaxUninstall    = '卸載應用';
$lang->instance->name             = '名稱';
$lang->instance->appName          = '應用類型';
$lang->instance->version          = '版本';
$lang->instance->status           = '狀態';
$lang->instance->cpu              = 'CPU';
$lang->instance->mem              = '內存';
$lang->instance->space            = '空間';
$lang->instance->domain           = '域名';
$lang->instance->visitIP          = '訪問方式';
$lang->instance->dbType           = '資料庫';
$lang->instance->advanceOption    = '高級選項';
$lang->instance->baseInfo         = '基本信息';
$lang->instance->backupAndRestore = '備份';
$lang->instance->advance          = '高級';
$lang->instance->enableLDAP       = '啟用LDAP';
$lang->instance->linkLDAP         = '整合LDAP';
$lang->instance->enableSMTP       = '啟用SMTP';
$lang->instance->customSetting    = '自定義配置';
$lang->instance->upgradeToSenior  = '升級到高級版';
$lang->instance->updateDomain     = '更新域名';
$lang->instance->updateLog        = '更新日誌';
$lang->instance->start            = '啟動';
$lang->instance->restart          = '重啟';
$lang->instance->stop             = '關閉';
$lang->instance->install          = '安裝';
$lang->instance->update           = '更新';
$lang->instance->upgrade          = '升級';
$lang->instance->customInstall    = '自定義安裝';
$lang->instance->uninstall        = '刪除';
$lang->instance->visit            = '訪問';
$lang->instance->editName         = '修改名稱';
$lang->instance->cpuCore          = '核';
$lang->instance->scalable         = '應用水平擴容';
$lang->instance->change           = '修改';
$lang->instance->browseProject    = "項目列表";

$lang->instance->systemLDAPInactive = '未開啟系統LDAP';
$lang->instance->toSystemLDAP       = '去啟用';

$lang->instance->enableSMTP         = '啟用SMTP';
$lang->instance->systemSMTPInactive = '未開啟系統SMTP';
$lang->instance->toSystemSMTP       = '去啟用';

$lang->instance->serviceInfo      = '服務信息';
$lang->instance->appTemplate      = '應用模板';
$lang->instance->source           = '來源';
$lang->instance->installBy        = '創建者';
$lang->instance->installAt        = '創建時間';
$lang->instance->runDuration      = '已運行';
$lang->instance->defaultAccount   = '預設用戶';
$lang->instance->defaultPassword  = '預設密碼';
$lang->instance->account          = '用戶名';
$lang->instance->password         = '密碼';
$lang->instance->token            = 'Token';
$lang->instance->copied           = '複製成功';
$lang->instance->operationLog     = '操作記錄';
$lang->instance->installedService = '已安裝服務';
$lang->instance->runningService   = '運行中的服務';
$lang->instance->installApp       = '安裝應用';
$lang->instance->cpuUsage         = 'CPU占用';
$lang->instance->memUsage         = '內存占用';
$lang->instance->memTotal         = '（共%s）';
$lang->instance->currentMemory    = '當前內存';
$lang->instance->adjustMem        = '調整內存';
$lang->instance->setting          = '設置';
$lang->instance->saveSetting      = '保存設置';
$lang->instance->leftTime         = '剩餘';
$lang->instance->switchTo         = '升級到';
$lang->instance->or               = '或';
$lang->instance->hasRead          = '已閲讀';
$lang->instance->stopInstanceTips = '關閉服務後才能升級到高級版！';

$lang->instance->dbTypes = array();
$lang->instance->dbTypes['sharedDB']   = '共享資料庫';
$lang->instance->dbTypes['unsharedDB'] = '獨享資料庫';

$lang->instance->backup = new stdclass;
$lang->instance->backup->common              = '備份';
$lang->instance->backup->date                = '備份時間';
$lang->instance->backup->operator            = '備份人';
$lang->instance->backup->type                = '備份類型';
$lang->instance->backup->backupStatus        = '備份狀態';
$lang->instance->backup->restoreStatus       = '回滾狀態';
$lang->instance->backup->restoreOperator     = '回滾人';
$lang->instance->backup->restoreTime         = '回滾時間';
$lang->instance->backup->action              = '操作';
$lang->instance->backup->restore             = '回滾';
$lang->instance->backup->restoreInfo         = '回滾信息';
$lang->instance->backup->delete              = '刪除';
$lang->instance->backup->rebackup            = '重試備份';
$lang->instance->backup->create              = '創建備份';
$lang->instance->backup->database            = '資料庫';
$lang->instance->backup->dbType              = '類型';
$lang->instance->backup->dbName              = '名稱';
$lang->instance->backup->dbStatus            = '狀態';
$lang->instance->backup->dbSpentSeconds      = '耗時(秒)';
$lang->instance->backup->dbSize              = '大小';
$lang->instance->backup->volumne             = '數據卷';
$lang->instance->backup->volName             = '名稱';
$lang->instance->backup->volMountName        = '掛載目錄';
$lang->instance->backup->volStatus           = '狀態';
$lang->instance->backup->volSpentSeconds     = '耗時(秒)';
$lang->instance->backup->volSize             = '大小';
$lang->instance->backup->lastRestore         = '上次回滾';
$lang->instance->backup->restoreDate         = '回滾時間';
$lang->instance->backup->latestBackupAt      = '上次備份時間';
$lang->instance->backup->backupBeforeRestore = '回滾前建議您先備份!';
$lang->instance->backup->enableAutoBackup    = '開啟自動備份';
$lang->instance->backup->autoBackup          = '自動備份';
$lang->instance->backup->cycleDays           = '備份周期';
$lang->instance->backup->backupTime          = '備份時間';
$lang->instance->backup->keepDays            = '保留天數';
$lang->instance->backup->keepDayRange        = '請輸入1~30之間的整數';
$lang->instance->backup->firstStartTime      = '%s 首次備份將於%s 執行';
$lang->instance->backup->invalidTime         = '無效的時間';
$lang->instance->backup->disableAutoBackup   = '自動備份已關閉';
$lang->instance->backup->keepBackupBySystem  = '備份數據超過1條時系統才會刪除過期的自動備份數據。';

$lang->instance->backup->cycleList[1]  = '每日';

$lang->instance->backup->operators = array();
$lang->instance->backup->operators['auto'] = '自動備份';

$lang->instance->backup->statusList = array();
$lang->instance->backup->statusList['success']        = '成功';
$lang->instance->backup->statusList['failed']         = '失敗';
$lang->instance->backup->statusList['pending']        = '等待中';
$lang->instance->backup->statusList['processing']     = '備份中';
$lang->instance->backup->statusList['inprogress']     = '備份中';
$lang->instance->backup->statusList['completed']      = '完成';
$lang->instance->backup->statusList['executedFailed'] = '失敗';
$lang->instance->backup->statusList['uploading']      = '上傳中';
$lang->instance->backup->statusList['deleting']       = '刪除中';
$lang->instance->backup->statusList['uploadFailed']   = '上傳失敗';
$lang->instance->backup->statusList['downloading']    = '下載中';
$lang->instance->backup->statusList['downloadFailed'] = '下載失敗';

$lang->instance->restore = new stdclass;
$lang->instance->restore->autoRestore        = '自動還原';
$lang->instance->restore->enableAutoRestore  = '開啟自動還原';
$lang->instance->restore->cycleDays          = '還原周期';
$lang->instance->restore->restoreTime        = '還原時間';
$lang->instance->restore->invalidTime        = '無效的時間';
$lang->instance->restore->disableAutoRestore = '自動還原已關閉';
$lang->instance->restore->firstStartTime     = '%s 首次自動還原將於%s 執行';

$lang->instance->restore->cycleList[1] = '每日';

$lang->instance->restore->statusList = array();
$lang->instance->restore->statusList['pending']    = '等待中';
$lang->instance->restore->statusList['inprogress'] = '進行中';
$lang->instance->restore->statusList['completed']  = '完成';
$lang->instance->restore->statusList['failed']     = '失敗';

$lang->instance->dbList     = '資料庫';
$lang->instance->dbName     = '名稱';
$lang->instance->dbStatus   = '狀態';
$lang->instance->dbType     = '類型';
$lang->instance->action     = '操作';
$lang->instance->management = '管理';
$lang->instance->dbReady    = '正常';
$lang->instance->dbWaiting  = '等待就緒';

$lang->instance->log = new stdclass;
$lang->instance->log->date    = '日期';
$lang->instance->log->message = '內容';

$lang->instance->actionList = array();
$lang->instance->actionList['install']                 = '安裝了%s';
$lang->instance->actionList['uninstall']               = '刪除了%s';
$lang->instance->actionList['start']                   = '啟動了%s';
$lang->instance->actionList['stop']                    = '關閉了%s';
$lang->instance->actionList['editname']                = '修改了名稱';
$lang->instance->actionList['upgrade']                 = '升級了%s';
$lang->instance->actionList['backup']                  = '備份了%s';
$lang->instance->actionList['restore']                 = '回滾了%s';
$lang->instance->actionList['adjustmemory']            = '調整 %s 的內存到 %s';
$lang->instance->actionList['adjustreplicas']          = '調整 %s 的副本數到 %s';
$lang->instance->actionList['enableldap']              = '啟用了LDAP';
$lang->instance->actionList['disableldap']             = '禁用了LDAP';
$lang->instance->actionList['enablesmtp']              = '啟用了SMTP';
$lang->instance->actionList['disablesmtp']             = '禁用了SMTP';
$lang->instance->actionList['updatecustom']            = '修改了自定義配置';
$lang->instance->actionList['tosenior']                = '升級服務到高級版';
$lang->instance->actionList['saveautobackupsettings']  = '修改了自動備份設置';
$lang->instance->actionList['saveautorestoresettings'] = '修改了自動還原設置';
$lang->instance->actionList['autobackup']              = '系統執行了自動備份';
$lang->instance->actionList['autorestore']             = '系統執行了自動還原';
$lang->instance->actionList['deleteexpiredbackup']     = '系統刪除了過期的自動備份';

$lang->instance->sourceList = array();
$lang->instance->sourceList['cloud'] = '應用市場';
$lang->instance->sourceList['local'] = '本地市場';
$lang->instance->sourceList['user']  = '手工配置';

$lang->instance->channelList = array();
$lang->instance->channelList['test']   = '測試版';
$lang->instance->channelList['stable'] = '穩定版';

$lang->instance->statusList = array();
$lang->instance->statusList['installationFail'] = '安裝失敗';
$lang->instance->statusList['creating']         = '創建中';
$lang->instance->statusList['initializing']     = '初始化';
$lang->instance->statusList['pulling']          = '下載中';
$lang->instance->statusList['startup']          = '啟動中';
$lang->instance->statusList['starting']         = '啟動中';
$lang->instance->statusList['running']          = '運行中';
$lang->instance->statusList['suspending']       = '暫停中';
$lang->instance->statusList['suspended']        = '已暫停';
$lang->instance->statusList['installing']       = '安裝中';
$lang->instance->statusList['uninstalling']     = '刪除中';
$lang->instance->statusList['stopping']         = '關閉中';
$lang->instance->statusList['stopped']          = '已關閉';
$lang->instance->statusList['destroying']       = '銷毀中';
$lang->instance->statusList['destroyed']        = '已銷毀';
$lang->instance->statusList['abnormal']         = '異常';
$lang->instance->statusList['upgrading']        = '更新中';
$lang->instance->statusList['unknown']          = '未知';

$lang->instance->htmlStatusesClass = array();
$lang->instance->htmlStatusesClass['running']          = 'success';
$lang->instance->htmlStatusesClass['stopped']          = 'default';
$lang->instance->htmlStatusesClass['abnormal']         = 'danger';
$lang->instance->htmlStatusesClass['installationFail'] = 'danger';
$lang->instance->htmlStatusesClass['busy']             = "warning";

$lang->instance->memOptions = array();
$lang->instance->memOptions[128 * 1024]   = '128MB';
$lang->instance->memOptions[256 * 1024]   = '256MB';
$lang->instance->memOptions[512 * 1024]   = '512MB';
$lang->instance->memOptions[1024 * 1024]  = '1GB';
$lang->instance->memOptions[2048 * 1024]  = '2GB';
$lang->instance->memOptions[4096 * 1024]  = '4GB';
$lang->instance->memOptions[8192 * 1024]  = '8GB';
$lang->instance->memOptions[16384 * 1024] = '16GB';
$lang->instance->memOptions[32768 * 1024] = '32GB';

$lang->instance->componentFields = array();
$lang->instance->componentFields['replicas']  = '副本數';
$lang->instance->componentFields['cpu_limit'] = 'CPU';
$lang->instance->componentFields['mem_limit'] = '內存';

$lang->instance->notices = array();
$lang->instance->notices['success']            = '成功';
$lang->instance->notices['fail']               = '失敗';
$lang->instance->notices['error']              = '錯誤';
$lang->instance->notices['confirmStart']       = '確定啟動該應用嗎？';
$lang->instance->notices['confirmStop']        = '確定關閉該應用嗎？';
$lang->instance->notices['confirmUninstall']   = '確定刪除該應用嗎？';
$lang->instance->notices['startSuccess']       = '啟動成功';
$lang->instance->notices['startFail']          = '啟動失敗';
$lang->instance->notices['stopSuccess']        = '關閉成功';
$lang->instance->notices['stopFail']           = '關閉失敗';
$lang->instance->notices['uninstallSuccess']   = '刪除成功';
$lang->instance->notices['uninstallFail']      = '刪除失敗';
$lang->instance->notices['installSuccess']     = '安裝成功';
$lang->instance->notices['installFail']        = '安裝失敗';
$lang->instance->notices['upgradeSuccess']     = '升級成功';
$lang->instance->notices['upgradeFail']        = '升級失敗';
$lang->instance->notices['backupSuccess']      = '備份任務已提交';
$lang->instance->notices['backupFail']         = '備份失敗';
$lang->instance->notices['restoreSuccess']     = '回滾任務已提交';
$lang->instance->notices['restoreFail']        = '回滾失敗';
$lang->instance->notices['deleteSuccess']      = '刪除成功';
$lang->instance->notices['deleteFail']         = '刪除失敗';
$lang->instance->notices['starting']           = '啟動中，請稍候...';
$lang->instance->notices['stopping']           = '關閉中，請稍候...';
$lang->instance->notices['installing']         = '安裝中，請稍候...';
$lang->instance->notices['uninstalling']       = '刪除中，請稍候...';
$lang->instance->notices['upgrading']          = '升級中，請稍候...';
$lang->instance->notices['backuping']          = '備份中，請稍候...';
$lang->instance->notices['restoring']          = '回滾中，請稍候...';
$lang->instance->notices['deleting']           = '刪除中，請稍候...';
$lang->instance->notices['adjusting']          = '調整中，請稍候...';
$lang->instance->notices['switching']          = '提交中，請稍候...';
$lang->instance->notices['setting']            = '提交中，請稍候...';
$lang->instance->notices['confirmInstall']     = '確定要安裝(%s)?';
$lang->instance->notices['confirmUpgrade']     = '確定要升級到最新版嗎?';
$lang->instance->notices['confirmBackup']      = '確定要備份嗎？';
$lang->instance->notices['confirmRestore']     = '本操作將用備份的數據覆蓋當前的數據，確定要回滾嗎？';
$lang->instance->notices['confirmDelete']      = '確定要刪除該備份數據嗎？';
$lang->instance->notices['adjustMemory']       = '確定要調整中內存嗎？';
$lang->instance->notices['switchLDAP']         = '修改LDAP會重啟服務，確定要修改LDAP嗎？';
$lang->instance->notices['enableLDAPFailed']   = '啟用LDAP失敗';
$lang->instance->notices['disableLDAPFailed']  = '禁用LDAP失敗';
$lang->instance->notices['enableLDAPSuccess']  = '啟用LDAP成功';
$lang->instance->notices['disableLDAPSuccess'] = '禁用LDAP成功';
$lang->instance->notices['switchSMTP']         = '修改SMTP會重啟服務，確定要修改SMTP嗎？';
$lang->instance->notices['enableSMTPFailed']   = '啟用SMTP失敗';
$lang->instance->notices['disableSMTPFailed']  = '禁用SMTP失敗';
$lang->instance->notices['enableSMTPSuccess']  = '啟用SMTP成功';
$lang->instance->notices['disableSMTPSuccess'] = '禁用SMTP成功';
$lang->instance->notices['confirmCustom']      = '修改自定義配置後服務將自動重啟以使配置生效。';
$lang->instance->notices['required']           = '不能為空';

$lang->instance->nameChangeTo      = ' %s 修改為 %s  。';
$lang->instance->versionChangeTo   = ' %s 升級為 %s  。';
$lang->instance->toSeniorSerial    = '從 %s 升級到 %s 。';
$lang->instance->adjustMemorySize  = '建議調整內存到 %s 。';
$lang->instance->enableAutoBackup  = '開啟自動備份';
$lang->instance->disableAutoBackup = '關閉自動備份';

$lang->instance->instanceNotExists  = '服務不存在';
$lang->instance->caplicasTooSmall   = '副本數不能小於1';
$lang->instance->empty              = '暫無服務';
$lang->instance->noComponent        = '無組件，點擊';
$lang->instance->noHigherVersion    = '未找到更高版本！';
$lang->instance->backupOnlyRunning  = '運行狀態才能備份';
$lang->instance->restoreOnlyRunning = '運行狀態才能回滾';
$lang->instance->howToSelectDB      = '如何選擇?';
$lang->instance->appLifeTip         = 'demo賬號安裝的應用有30分鐘限制，30分鐘後自動刪除。';
$lang->instance->serialDiff         = '查看版本區別';
$lang->instance->descOfSwitchSerial = '您當前使用的是<strong>%s</strong>，想要體驗更多高級功能，可升級至%s。';
$lang->instance->toSeniorAttention  = '重要提示';
$lang->instance->toSeniorTips       = "<ul class='text-danger'><li>版本升級後，無法回退到原版本。</li><li>企業版、旗艦版自安裝後免費試用6個月。</li><li>開源版升級到企業版或旗艦版後，試用期最大支持3個用戶，請檢查開源版用戶數量。超出限制將不可用。</li><li>升級成功後，服務將自動重啟。</li><li>為避免造成數據丟失，請您在升級前務必做好數據備份。</li></ul>";

$lang->instance->errors = new stdclass;
$lang->instance->errors->domainLength         = '域名長度必須介於2-20字元之間';
$lang->instance->errors->domainExists         = '域名已被占用，請使用其它域名。';
$lang->instance->errors->wrongDomainCharacter = '域名只能是小寫英文字母和數字';
$lang->instance->errors->noAppInfo            = '獲取應用數據失敗，請稍候重試。';
$lang->instance->errors->notEnoughResource    = '集群資源不足';
$lang->instance->errors->notEnoughMemory      = '%s 應用需要 %s 內存，當前可用內存%s ，還需要 %s，請擴充內存資源或刪除其他服務後重試！';
$lang->instance->errors->restoreRunning       = '當前回滾正在進行中，請等待當前回滾完成。';
$lang->instance->errors->noBackup             = '無備份數據，';
$lang->instance->errors->wrongRequestData     = '提交的數據有誤，請刷新頁面後重試。';
$lang->instance->errors->noDBList             = '無資料庫或不可訪問';
$lang->instance->errors->notFoundDB           = '找不到該資料庫';
$lang->instance->errors->dbNameIsEmpty        = '資料庫名為空';
$lang->instance->errors->failToAdjustMemory   = '調整內存失敗';
$lang->instance->errors->switchLDAPFailed     = '修改LDAP設置失敗';
$lang->instance->errors->switchSMTPFailed     = '修改SMTP設置失敗';
$lang->instance->errors->updateCustomFailed   = '修改自定義配置失敗';
$lang->instance->errors->failToSenior         = '升級到高級版失敗';
$lang->instance->errors->failedToUpdateDomain = '更新域名失敗';
